package com.amumu.drama.common.modules.invitation.service;

import com.amumu.drama.common.base.api.CommonResult;
import com.amumu.drama.model.UmsMember;

import java.math.BigDecimal;

public interface InvitationService {
    CommonResult<String> validateCode(String invitationCode);

    CommonResult<String> generateInvitationCode(BigDecimal discount,UmsMember currentMember);

    BigDecimal queryInvitationDiscount(String invitationCode);

    /** 邀请人数查询 */
    Long countInvitation(Long memberId);


}
